{if $logued eq 1 and $enablemanagement eq 'true'}
<div id="menu">
	<div class="minimize" onclick="minimize('admin_menu_window')" title="{$lang.minimize}"></div>
	<span class="menu_title">{$lang.management}</span>
	<div style="margin-top: 20px;">
	<div id="admin_menu_window">
	<table class="menu_window">
		<tbody>
			<tr>
				<td class="menu_nw menu_window_td"></td>
				<td class="menu_n menu_window_td"></td>
				<td class="menu_ne menu_window_td"></td>
			</tr>
		</tbody>
	</table>
	<table class="menu_window menu_window_content">
		<tbody>
			<tr>
				<td class="menu_w menu_window_td"></td>
				<td class="menu_content menu_window_td">
					<div class="menu_content">
					<table cellpadding="0" cellspacing="0">
						{eval var=$CURRENT_USER->groupid assign="crgrp"}
						{foreach from=$CREDENTIALS[$crgrp] item=cr}
							{if $cr eq 'management'}
								{foreach from=$manlist item=cr}
								<tr>
									<td class="img_menu"><img src="images/configuration.gif" width="24" height="24"></td>
									<td><span class="link" onclick="actMenu('{$cr}')" title="{$lang.$cr}">{$lang.$cr}</span></td>
								</tr>	
								{/foreach}
								{if $CURRENT_USER->groupid eq 'ADMIN'}
								<tr>
									<td class="img_menu"><img src="images/configuration.gif" width="24" height="24"></td>
									<td><span class="link" onclick="actMenu('prselection')" title="{$lang.browse}">{$lang.browse}</span></td>
								</tr>	
								{/if}
							{/if}
						{/foreach}
						</table>
					</div>
				</td>
				<td class="menu_e menu_window_td"></td>
			</tr>
		</tbody>
	</table>
	<table class="menu_window">
		<tbody>
			<tr>
				<td class="menu_sw menu_window_td"></td>
				<td class="menu_s menu_window_td"></td>
				<td class="menu_se menu_window_td"></td>
			</tr>
		</tbody>
	</table>
	</div>
	</div>
</div>
{/if}